﻿using B.S.DataBase.MyProject.Domain.productionworkorder;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace T.E.ERP.Write.API.Applicantions.Command.ZJWorkOrderCommand
{
    /// <summary>
    /// 质检工单基本信息增加命令
    /// </summary>
    public class ZJWorkOrderAddCommand:IRequest<APIResult<QualityInspectionWorkOrder>>
    {
        /// <summary>
        /// 质检工单主题（必填）
        /// </summary>
        public string QualityInspectionWorkOrderSubject { get; set; }

        /// <summary>
        /// 质检工单编号（默认值：ZJGD20221546，必填）
        /// </summary>
        public string QualityInspectionWorkOrderNumber { get; set; }

        /// <summary>
        /// 来源工单（默认值：GD00023）
        /// </summary>
        public string SourceWorkOrder { get; set; }

        /// <summary>
        /// 生产物品（默认值：一吃就长胖巧克力）
        /// </summary>
        public string ProductionItem { get; set; }

        /// <summary>
        /// 质检负责人
        /// </summary>
        public string QualityInspectionResponsiblePerson { get; set; }

        /// <summary>
        /// 质检部门
        /// </summary>
        public string QualityInspectionDepartment { get; set; }

        /// <summary>
        /// 工序数量（默认值：20）
        /// </summary>
        public int ProcessQuantity { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string ZJRemarks { get; set; }
    }

}
